MySQL
The MySQL class provides a driver implementation for interacting with a MySQL database. It supports connection pooling, transactional operations, and executing SQL queries.
The connection URL should follow the nex pattern, as described by MySQL.
The generic format of the connection URL: mysql://:port?properties
The port defaults to 3306. The properties are the ones the native driver (sqlx) reads: ssl-mode (disabled, preferred, required, verify_ca, verify_identity), ssl-ca, ssl-cert, ssl-key, socket and timezone (the session time zone, UTC by default), as well as r2dbc's ssl=true|false. charset, collation and statement-cache-capacity are accepted and have no effect on the JVM. Any other property is rejected.
Parameters
The connection URL for the MySQL database.
The username for authenticating with the database.
The password for authenticating with the database.
The optional configuration for the connection pool, such as min/max connections and timeout settings.
Optional registry of value encoders to use for encoding query parameters.